home *** CD-ROM | disk | FTP | other *** search
-
-
- AmiGRASP ver 1.1 DOCUMENTATION
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-
- Copyright © 1991 Koh Kian Beng
-
-
-
- INTRODUCTION TO GL FORMAT
- -------------------------
-
- GL stand for Graphics Library. It is an archive of files use for animation
- on the IBM PCs and clones. Files with the extension '.gl' was created by a
- software package called GRASP by Microtex Industries. GRASP is a graphics
- programming language which can be used to create and run animated graphics
- demonstrations, tutorials and presentation. A program called GRASPRT, stand
- for GRASP RunTime, can be used to just play the animation. As it is an archive,
- GL file may contains many component files which includes picture files, text
- files and font files. Picture files are the graphics that will be used
- in the animation. It can be in many formats which includes PCPAINT's Pictor
- (PIC and CLP), GIFs and PCX formats. The text files are the most important
- of all files as it dictates how the animation should be performed. This text
- file contains a series of GRASP commands. A GL files can contain a few
- text files which can be chosen by the user. Font files is optional and only
- used for generating text characters. The fonts are FONTRIX compatible.
-
- GL files are getting very popular and there exists quite a number of X-rated
- animation files. As GL files were created on IBM PC, it can only be played on
- an IBM PC and compatibles. Of late, there are another three types of systems
- which can display GL animation. They are Acorn Archimedes, UNIX's X-Window and
- Commodore AMIGA. For X-Window we have XGRASP and XViewGL, and for the AMIGA we
- have GL and AmiGRASP.
-
-
- HOW DO I USE AmiGRASP
- ---------------------
-
- To run the AmiGRASP, enter at the CLI prompt:
-
- CLI> AmiGRASP libname.GL [textname.TXT]
-
- libname.gl = the gl animation file you want to view.
-
- textname.txt = optional animation scriptfile. if not specified, AmiGRASP
- use the first text file it found.
-
- To exit: press ESC any time.
-
-
- MACHINE COMPATIBILITY
- ---------------------
-
- It need at least 370KB of free Chip and 512KB of free Fast RAM. The more Fast
- RAM you have the better, especially if you do not have hard disk. This will
- enable you to run very large gl files such as the Mandy series from the RAM
- drive. I've tested AmiGRASP only with my A2000 - 2.5MB Fast, 0.5 MB Chip with
- 1.2 ROM. GL files can be on any drive. I did not try to optimize FAST RAM usage,
- neither the program codes. so you might have "not enough memory" problem when
- running large gl file.
-
-
- COLOR
- -----
-
- The graphics screen supported are CGA hires (640x200) and VGA lores (320 x 200).
- VGA 256 colors will be displayed in HAM. Any drawing and text color will use
- amiga's basecolor and not HAM to avoid excessive color fringing. Thus it will
- choose the nearest basecolor to VGA color. In this situation, the colors will
- not be exactly the same, as 1) Amiga color depth (12-bits) is shallower than
- VGA's 18 bits and 2) base color depends on the pictures to be displayed. Some
- drawing may even disappear due to color chosen is the same as background color.
- More emphasize is place on the correctness of the pictures' color, thus the
- picture loading is quite slow especially in HAM mode. Due to the nature of HAM
- mode, fringing problem is expected. Care is taken to minimize fringing but
- there is a compromise between animation speed and fringing problem. Some of the
- special effect, especially sparkle fade, will cause excessive fringing in HAM
- mode.
-
-
- ASSUMPTION
- ----------
-
- AmiGRASP assumes all .gl files is in proper order. If not, a visit to guru
- is more likely. I have found several errors in some of the gl files i have
- and has corrected the error since GRASPRT could not display them too.
-
-
- GRASPRT COMPATIBILITY
- ---------------------
-
- It supports 30% of GRASP 4 commands. Any commands it does not support
- will be skipped. It support only 27% of fading mode. Any fade it does not
- recognize will be defaulted as fade 0.
-
- I intent to support most implementable commands in latest GRASP but i have
- limited number of .gl files to try it out. I also do not have the latest
- GRASP specs. I'm using GL 1.3 program by John Bickers and occasionaly
- office's 386 PC clone for cross-checking on the operation. This AmiGRASP
- release is known to have no problem with the following gl files:
-
- inout.gl orgasm.gl mandy-2.gl doit.gl
- ontop.gl twotimer.gl vgax0002.gl jadesuk1.gl
- 1on2.gl angel-3.gl 3in1.gl
- vgax0000.gl mandy-1.gl want01.gl
-
- If you have a .gl file which you think AmiGRASP did not play correctly,
- please get in touch with me. Email the gl file to the Internet address
- below and i will send the updated version directly to you as soon as
- i manage to support it.
-
- How do you know any command it does not support exist? At the beginning, you
- may notice some message saying certain command not supported.
-
-
- CHANGES SINCE VER 1.0d
- ----------------------
-
- 1. Solved flickering on some animation using PFADE due to color changes.
-
- 2. Now no more flicker on FLY command when run in real FAST RAM.
-
- 3. Handle termination of the last command in textfile by ctrl-z or real EOF
- correctly.
-
- 4. Support fade 13.
-
- 5. Picture/font/text name-search now case-insensitive.
-
- 6. Text support for video mode L (VGA 256 colors).
-
- 7. Pfade small picture correctly.
-
- 8. Support FLOAT, TRAN and FSTYLE commands.
-
-
- CREDITS
- -------
-
- Palette size reduction routine adapted from color.c of public domain program
- DGIF 1.0 (a gif viewer) by Derek Noonburg (dn0o+@andrew.cmu.edu).
-
- GL disecting routine is base on a program posted by cooper@cs.columbia.edu.
-
- GRASP format by George Phillips (phillips@cs.bc.ca) and also from GRASP 1.0
- manual.
-
-
- COPYRIGHT
- ---------
-
- Copyright 1991 by Koh Kian Beng. I release this program as freeware. Feel
- free to send suggestion, comments, bug report, $$$contribution, more GL files
- etc to:
-
- email to kbkoh@a1acc1.intel.com
- or kbkoh%a1acc1@sc.intel.com
-
- smail to Koh Kian Beng
- H-10-2 Taman Bukit Jambul
- 11900 Pulau Pinang
- Malaysia
-
-
- HISTORY
- -------
-
- I'm doing the programming during my spare times after work. It is a bit slow.
-
- Start programming: February 03, 1991
-
- revision history:
-
- 030291: 0.0 This version is a stripdown of KPIC v1.0p modified to be able to
- load multiple pictures into memory and display them in sequence
- on keypress.
- 0.1 support bpp=1 and no color map for bpp=1. follows KPIC v1.1
- modification on these bug.
- 0.3 first working structure of a gl player. support all commands
- required to play inout.gl and ontop.gl.
- 0.5 support fade 23, fade 4, reference to label at after goto command
- and loading of pictures into same buffer.
- 0.6 support cload, color, clearscr, mark, fly, loop commands.
- 210791: 0.7 support cfade, palette, fade 20, pfree, cfree and box commands.
- 290791: 0.8 support fload and text command.
- 300791: 0.9 support ifkey, window, fade 1, and exit.
- 030891: 1.0 support fade 19, and putup. major rework on color scheme.
- 220891: 1.1 faster fade 20 for video c, solve software error bug, reduce memory
- leakage problem, flicker-reduced animation, improve textfile
- termination handling, support fade 13, case-insensitive text
- handling, some color selection scheme changes, major rework on
- display buffering. support float, tran and fstyle.
-